package configruation

import "sinery.net.goft/src/controllers"

//控制器@configuration注解
//@controller
type ControllerConfig struct {
}

func NewControllerConfig() *ControllerConfig {
	return &ControllerConfig{}
}
func (this *ControllerConfig) IndexController() *controllers.IndexController {
	return controllers.NewIndexController()
}
func (this *ControllerConfig) UserController() *controllers.UserController {
	return controllers.NewUserController()
}
func (this *ControllerConfig) TestController() *controllers.TestController {
	return controllers.NewTestController()
}
func (this *ControllerConfig) CommonController() *controllers.CommonController {
	return controllers.NewCommonController()
}
